package com.jiuyun.entity;

public class Teachar {
    int teacherid;
    String tname;
    String tpass;
    String tphone;
    String tjob;

    public Teachar() {
    }

    public Teachar(int teacherid, String tname, String tpass, String tphone, String tjob) {
        this.teacherid = teacherid;
        this.tname = tname;
        this.tpass = tpass;
        this.tphone = tphone;
        this.tjob = tjob;
    }

    public int getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(int teacherid) {
        this.teacherid = teacherid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getTpass() {
        return tpass;
    }

    public void setTpass(String tpass) {
        this.tpass = tpass;
    }

    public String getTphone() {
        return tphone;
    }

    public void setTphone(String tphone) {
        this.tphone = tphone;
    }

    public String getTjob() {
        return tjob;
    }

    public void setTjob(String tjob) {
        this.tjob = tjob;
    }

    public Teachar(String tname, String tpass, String tphone, String tjob) {
        this.tname = tname;
        this.tpass = tpass;
        this.tphone = tphone;
        this.tjob = tjob;
    }

    public Teachar(String tname, String tpass) {
        this.tname = tname;
        this.tpass = tpass;
    }

    @Override
    public String toString() {
        return "Teachar{" +
                "teacherid=" + teacherid +
                ", tname='" + tname + '\'' +
                ", tpass='" + tpass + '\'' +
                ", tphone='" + tphone + '\'' +
                ", tjob='" + tjob + '\'' +
                '}';
    }
}
